package com.dsh.common.response;

import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class Result {

    public static Result SUCCESS(){
        return new Result(true,"1","执行成功");
    }

    public static Result FAIL(){
        return new Result(false,"0","执行失败");
    }


    private boolean success;
    private String code;
    private String message;
}
